package com.iafoot.iafootmall.gateway;

import org.springframework.boot.SpringApplication;
import org.springframework.boot.autoconfigure.SpringBootApplication;
import org.springframework.boot.autoconfigure.jdbc.DataSourceAutoConfiguration;
import org.springframework.cloud.client.discovery.EnableDiscoveryClient;

/**
 * 1、开启服务注册发现  @EnableDiscoveryClient
 *  (配置nacos的注册中心地址)
 *
 *
 * exclude = {DataSourceAutoConfiguration.class：排除数据源相关的配置
 */
@EnableDiscoveryClient
@SpringBootApplication(exclude = {DataSourceAutoConfiguration.class})
public class IafootmallGatewayApplication {

    public static void main(String[] args) {
        SpringApplication.run(IafootmallGatewayApplication.class, args);
    }

}
